package com.ternnetwork.oa.service.work;
import com.ternnetwork.commons.model.http.BaseResponse;
import com.ternnetwork.oa.dto.work.ReportAddDto;
import com.ternnetwork.oa.dto.work.ReportEditDto;

public interface ReportService {

    BaseResponse add(ReportAddDto dto, String username);

    BaseResponse update(ReportEditDto dto, String username);

    BaseResponse deleteById(Long id,String username);

    BaseResponse findAll(String start,String end,String username);

    BaseResponse findAll(String start,String end,Long userId);

    BaseResponse toMeFindAll(String start, String end, Long userId,String loginUsername);
}
